package com.campus.campus.service;

import com.campus.campus.job.dto.RepairRequestDTO;
import com.campus.campus.job.entity.RepairRequest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 维护报修表 服务类
 * </p>
 *
 * @author mwb
 * @since 2024-11-17
 */
public interface IRepairRequestService extends IService<RepairRequest> {

    /**
     * 报修申请
     */
    void repairRequest(RepairRequestDTO repairRequestDTO);

    /**
     * 我的报修列表
     */
    List<RepairRequest> myRepairDetail();

    /**
     * 取消报修
     */
    void cancelRepair(Integer id);

    /**
     * 报修完成
     */
    void acceptRepair(Integer id);
}
